package com.study.design.pattern.pattern.behavioral.mediator;

/**
 * @Author: gongsl
 * @Date: 2025-03-25 21:43
 * @description: 抽象中介者
 */
public interface ChatMediator {
    /**
     * 发送消息
     */
    void sendMessage(String message, User user);

    /**
     * 接受消息
     */
    void addUser(User user);
}
